package org.jjj.basic.query;

import lombok.Data;

@Data
public class BaseQuery {
    //分页查询参数
    private Integer currentPage = 1;
    private Integer pageSize = 10;

    //高级查询起始条数
    public Integer getStart(){
        return (currentPage-1)*pageSize;
    }
}
